package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 叙词引用关系对象 sys_thesauri_word_reference
 * 
 * @author ruoyi
 * @date 2022-08-24
 */
public class SysThesauriWordReference extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private String thesauriWordId;

    @TableField(exist = false)
    private String thesauriWordName;

    private String referenceWordId;

    @TableField(exist = false)
    private String referenceWordName;

    private String referenceRelationLabel;

    /** 关联叙词表模块表 */
    @Excel(name = "关联叙词表模块表")
    private Long thesauriWordModuleId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setThesauriWordId(String thesauriWordId) 
    {
        this.thesauriWordId = thesauriWordId;
    }

    public String getThesauriWordId() 
    {
        return thesauriWordId;
    }
    public void setReferenceWordId(String referenceWordId) 
    {
        this.referenceWordId = referenceWordId;
    }

    public String getReferenceWordId() 
    {
        return referenceWordId;
    }
    public void setReferenceRelationLabel(String referenceRelationLabel) 
    {
        this.referenceRelationLabel = referenceRelationLabel;
    }

    public String getReferenceRelationLabel() 
    {
        return referenceRelationLabel;
    }
    public void setThesauriWordModuleId(Long thesauriWordModuleId) 
    {
        this.thesauriWordModuleId = thesauriWordModuleId;
    }

    public Long getThesauriWordModuleId() 
    {
        return thesauriWordModuleId;
    }

    public String getThesauriWordName() {
        return thesauriWordName;
    }

    public void setThesauriWordName(String thesauriWordName) {
        this.thesauriWordName = thesauriWordName;
    }

    public String getReferenceWordName() {
        return referenceWordName;
    }

    public void setReferenceWordName(String referenceWordName) {
        this.referenceWordName = referenceWordName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("thesauriWordId", getThesauriWordId())
            .append("referenceWordId", getReferenceWordId())
            .append("referenceRelationLabel", getReferenceRelationLabel())
            .append("thesauriWordModuleId", getThesauriWordModuleId())
            .toString();
    }
}
